import java.util.Scanner;

/**
 * 多分支if结构
 */
public class IfDemo03 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("输入考生成绩：");
        double score = sc.nextDouble();
        if (score > 100) {
            System.out.println("满分只有一百，没有比100更高的");
        } else if (score <= 100 && score >= 90) {
            System.out.println("优秀");
        }else if (score >= 80 ) {
            System.out.println("良好");
        } else if (score >= 70) {
            System.out.println("一般");
        } else if (score >= 60) {
            System.out.println("刚过线");
        }else {
            System.out.println("挂科");
        }
    }
}
